package com.tj.test.sys.po;


import java.text.ParseException;
import java.text.SimpleDateFormat;

public class Question {

  private int questionid;
  private int typeid;
  private String questiontype;
  private String questioncontext;
  private int questionscore;
  private String questionanswer;
  private int teacherid;
  private java.sql.Timestamp questionstart;
  private java.sql.Timestamp questionupdate;
  private String questionremark;
  private java.sql.Timestamp questionissuedate;
  private String questionissue;


  public int getQuestionid() {
    return questionid;
  }

  public void setQuestionid(int questionid) {
    this.questionid = questionid;
  }


  public int getTypeid() {
    return typeid;
  }

  public void setTypeid(int typeid) {
    this.typeid = typeid;
  }


  public String getQuestiontype() {
    return questiontype;
  }

  public void setQuestiontype(String questiontype) {
    this.questiontype = questiontype;
  }


  public String getQuestioncontext() {
    return questioncontext;
  }

  public void setQuestioncontext(String questioncontext) {
    this.questioncontext = questioncontext;
  }


  public int getQuestionscore() {
    return questionscore;
  }

  public void setQuestionscore(String questionscore) {
    if(questionscore==null&&questionscore==""){
      this.questionscore=0;
    }else{this.questionscore =Integer.parseInt(questionscore);}
  }


  public String getQuestionanswer() {
    return questionanswer;
  }

  public void setQuestionanswer(String questionanswer) {
    this.questionanswer = questionanswer;
  }


  public int getTeacherid() {
    return teacherid;
  }

  public void setTeacherid(String teacherid) {
    if(teacherid==null&&teacherid==""){
      this.teacherid=0;
    }else{this.teacherid =Integer.parseInt(teacherid);}
  }


  public java.sql.Timestamp getQuestionstart() {
    return questionstart;
  }

  public void setQuestionstart(java.sql.Timestamp questionstart) {
    this.questionstart = questionstart;
  }


  public java.sql.Timestamp getQuestionupdate() {
    return questionupdate;
  }

  public void setQuestionupdate(java.sql.Timestamp questionupdate) {
    this.questionupdate = questionupdate;
  }


  public String getQuestionremark() {
    return questionremark;
  }

  public void setQuestionremark(String questionremark) {
    this.questionremark = questionremark;
  }


  public java.sql.Timestamp getQuestionissuedate() {
    return questionissuedate;
  }

  public void setQuestionissuedate(java.sql.Timestamp questionissuedate) {
    this.questionissuedate = questionissuedate;
  }


  public String getQuestionissue() {
    return questionissue;
  }

  public void setQuestionissue(String questionissue) {
    this.questionissue = questionissue;
  }

}
